wrapper = textwrap.TextWrapper(width=50)

long_string = "This is a very long string that will be wrapped into multiple lines."
wrapped_text = wrapper.wrap(long_string)

for line in wrapped_text:
    print(line)